Part Number Hot Search : 
CMF50 00005 BAS21 PE6109 LH28F320 SP6832EK MB401 HAA121B
Product Description
Full Text Search
 

To Download AT91M42800-33AI Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1 features ? utilizes the arm7tdmi ? arm thumb processor core ? high-performance 32-bit risc architecture ? high-density 16-bit instruction set ? leader in mips/watt ? embedded ice (in-circuit emulation)  8k bytes internal ram  fully programmable external bus interface (ebi) ? maximum external address space of 64m bytes ? up to 8 chip selects ? software programmable 8/16-bit external data bus  8-channel peripheral data controller  8-level priority, individually maskable, vectored interrupt controller ? 5 external interrupts, including a high-priority, low-latency interrupt request  54 programmable i/o lines  6-channel 16-bit timer/counter ? 6 external clock inputs ? 2 multi-purpose i/o pins per channel  2 usarts ? 2 dedicated peripheral data controller (pdc) channels per usart ? support for up to 9-bit data transfers  2 master/slave spi interfaces ? 2 dedicated peripheral data controller (pdc) channels per spi ? 8- to 16-bit programmable data length ? 4 external slave chip selects per spi  3 system timers: ? period interval timer (pit); real-time timer (rtt); watchdog timer (wdt)  power management controller (pmc) ? cpu and peripherals can be deactivated individually  clock generator with 32.768 khz low-power oscillator and pll ? support for 31.25 khz and 38.4 khz crystals ? software programmable system clock (up to 33 mhz)  ieee 1149.1 jtag boundary scan on all active pins  fully static operation: 0 hz to 33 mhz (17 mhz at 1.8v)  1.8v to 3.6v core operating voltage range; 2.7v to 5.5v i/o operating voltage range  -40 c to +85 c operating temperature range  available in a 144-lead tqfp package and in 144-ball bga package description the at91m42800 microcontroller is a member of the atmel at91 16/32-bit microcon- troller family, which is based on the arm7tdmi processor core. this processor has a high-performance 32-bit risc architecture with a high-density 16-bit instruction set and very low power consumption. in addition, a large number of internally banked reg- isters result in very fast exception handling, making the device ideal for real-time control applications. the at91 arm-based mcu family also features atmel?s high- density, in-system programmable, nonvolatile memory technology. the at91m42800 has a direct connection to off-chip memory, including flash, through the external bus interface. the power management controller allows the user to adjust the device activity according to system requirements, and, with the 32.768 khz low-power oscillator, enables the at91m42800 to reduce power requirements to an absolute minimum. the at91m42800 is manufactured using atmel?s high-density cmos technology. by combining the arm7tdmi processor core with on-chip sram and a wide range of peripheral functions including timers, serial communication controllers and a versatile clock generator on a monolithic chip, the at91m42800 provides a highly flexible and cost-effective solution to many compute-intensive applications. at91 arm ? thumb ? microcontrollers at91m42800 summary rev. 1328as?06/00
at91m42800 2 pin configuration figure 1. pin configuration in tqfp144 package (top view) figure 2. pin configuration in bga144 package (top view) 136 144 109 108 73 37 72 at91m42800 33ai 123456789101112 a b c d e f g h j k l m
at91m42800 3 table 1. at91m42800 pinout in tqfp 144 package pin at91m42800 pin at91m42800 pin at91m42800 pin at91m42800 1 gnd 37 gnd 73 gnd 109 gnd 2 gnd 38 gnd 74 gnd 110 gnd 3 nlb/a0 39 d4 75 pb22/tioa5 111 pa26 4 a1 40 d5 76 pb23/tiob5 112 gndpll 5 a2 41 d6 77 pa0/irq0 113 xin 6 a3 42 d7 78 pa1/irq1 114 xout 7 a4 43 d8 79 pa2/irq2 115 gnd 8 a5 44 d9 80 pa3/irq3 116 pllrca 9 a6 45 d10 81 pa4/fiq 117 vddpll 10 a7 46 d11 82 pa5/sck0 118 pllrcb 11 a8 47 d12 83 pa6/txd0 119 vddpll 12 vddio 48 vddio 84 vddio 120 vddio 13 gnd 49 gnd 85 gnd 121 gnd 14 a9 50 d13 86 pa7/rxd0 122 nwdovf 15 a10 51 d14 87 pa8/sck1 123 pa27/bms 16 a11 52 d15 88 pa9/txd1/ntri 124 jtagsel 17 a12 53 pb6/tclk0 89 pa10/rxd1 125 tms 18 a13 54 pb7/tioa0 90 pa11/spcka 126 tdi 19 a14 55 pb8/tiob0 91 pa12/misoa 127 tdo 20 a15 56 pb9/tclk1 92 pa13/mosia 128 tck 21 a16 57 pb10/tioa1 93 pa14/npcsa0/nssa 129 ntrst 22 a17 58 pb11/tiob1 94 pa15/npcsa1 130 nrst 23 a18 59 pb12/tclk2 95 pa16/npcsa2 131 pa28/holda 24 vddio 60 vddio 96 vddio 132 vddio 25 gnd 61 gnd 97 gnd 133 gnd 26 a19 62 pb13/tioa2 98 pa17/npcsa3 134 pa29/hold 27 pb2/a20/cs7 63 pb14/tiob2 99 pa18/spckb 135 nwait 28 pb3/a21/cs6 64 pb15/tclk3 100 pa19/misob 136 noe/nrd 29 pb4/a22/cs5 65 pb16/tioa3 101 pa20/mosib 137 nwe/nwr0 30 pb5/a23/cs4 66 pb17/tiob3 102 pa21/npcsb0/nssb 138 nub/nwr1 31 d0 67 pb18/tclk4 103 pa22/npcsb1 139 ncs0 32 d1 68 pb19/tioa4 104 pa23/npcsb2 140 ncs1 33 d2 69 pb20/tiob4 105 pa24/npcsb3 141 pb0/ncs2 34 d3 70 pb21/tclk5 106 pa25/mcko 142 pb1/ncs3 35 vddcore 71 vddcore 107 vddcore 143 vddcore 36 vddio 72 vddio 108 vddio 144 vddio
at91m42800 4 table 2. at91m42800 pinout in bga 144 package pin at91m42800 pin at91m42800 pin at91m42800 pin at91m42800 a1 pb1/ncs3 d1 a2 g1 a17 k1 d1 a2 ncs0 d2 a3 g2 a16 k2 vddcore a3 ncs1 d3 a4 g3 a11 k3 vddio a4 gnd d4 nwait g4 a13 k4 d9 a5 pllrcb d5 pa29/hold g5 gnd k5 d10 a6 gnd d6 pa28/holda g6 gnd k6 d14 a7 pllrca d7 tck g7 gnd k7 pb9/tclk1 a8 gndpll d8 tms g8 gnd k8 pb13/tioa2 a9 xout d9 jtagsel g9 pa9/txd1/ntri k9 pb11/tiob1 a10 xin d10 pa25/mcko g10 pa10/rxd1 k10 vddio a11 gnd d11 pa21/npcsb0 g11 pa8/sck1 k11 pb16/tioa3 a12 pa22/npcsb1 d12 pa18/spckb g12 pa7/rxd0 k12 pb23/tiob5 b1 nub/nwr1 e1 a7 h1 a18 l1 d3 b2 pb0/ncs2 e2 vddio h2 vddio l2 d2 b3 vddcore e3 a6 h3 a15 l3 d5 b4 nwe/nwr0 e4 a5 h4 a14 l4 d8 b5 vddpll e5 gnd h5 a19 l5 vddio b6 tdo e6 gnd h6 gnd l6 d13 b7 vddpll e7 gnd h7 gnd l7 pb8/tiob0 b8 nwdovf e8 ntrst h8 gnd l8 vddio b9 pa26 e9 pa13/mosia h9 pa6/txd0 l9 pb17/tiob3 b10 pa19/misob e10 pa16/npcsa2 h10 pa4/fiq l10 vddcore b11 pa24/npcsb3 e11 vddio h11 vddio l11 pb20/tiob4 b12 pa23/npcsb2 e12 pa17/npcsa3 h12 pa5/sck0 l12 pb22/tioa5 c1 nlb/a0 f1 a8 j1 pb5/a23/cs4 m1 d4 c2 a1 f2 a12 j2 d0 m2 d6 c3 vddio f3 a9 j3 pb4/a22/cs5 m3 d7 c4 noe/nrd f4 a10 j4 pb3/a21/cs6 m4 d11 c5 vddio f5 gnd j5 pb2/a20/cs7 m5 d12 c6 nrst f6 gnd j6 d15 m6 pb7/tioa0 c7 tdi f7 gnd j7 pb6/tclk0 m7 pb12/tclk2 c8 vddio f8 gnd j8 pb10/tioa1 m8 pb15/tclk3 c9 pa27/bms f9 pa12/misoa j9 pa3/irq3 m9 pb14/tiob2 c10 vddio f10 pa15/npcsa1 j10 pa2/irq2 m10 pb18/tclk4 c11 vddcore f11 pa11/spcka j11 pa0/irq0 m11 pb19/tioa4 c12 pa20/mosib f12 pa14/npcsa0 j12 pa1/irq1 m12 pb21/tclk5
at91m42800 5 pin description table 3. at91m42800 pin description module name function type active level comments ebi a0 - a23 address bus output ? all valid after reset d0 - d15 data bus i/o ? cs4 - cs7 chip select output high a23 - a20 after reset ncs0 - ncs3 chip select output low nwr0 lower byte 0 write signal output low used in byte write option nwr1 lower byte 1 write signal output low used in byte write option nrd read signal output low used in byte write option nwe write enable output low used in byte select option noe output enable output low used in byte select option nub upper byte select (16-bit sram) output low used in byte select option nlb lower byte select (16-bit sram) output low used in byte select option nwait wait input input low hold bus request from external device input high pio-controlled after reset holda bus grant to external device output high pio-controlled after reset bms boot mode select input ? sampled during reset aic irq0 - irq3 external interrupt request input ? pio-controlled after reset fiq fast external interrupt request input ? pio-controlled after reset tc tclk0 - tclk5 timer external clock input ? pio-controlled after reset tioa0 - tioa5 multi-purpose timer i/o pin a i/o ? pio-controlled after reset tiob0 - tiob5 multi-purpose timer i/o pin b i/o ? pio-controlled after reset usart sck0 - sck1 external serial clock i/o ? pio-controlled after reset txd0 - txd1 transmit data output output ? pio-controlled after reset rxd0 - rxd1 receive data input input ? pio-controlled after reset spia spib spcka/spckb clock i/o ? pio-controlled after reset misoa/misob master in slave out i/o ? pio-controlled after reset mosia/mosib master out slave in i/o ? pio-controlled after reset nssa/nssb slave select input low pio-controlled after reset npcsa0 - npcsa3 npcsb0 - npcsb3 peripheral chip selects output low pio-controlled after reset pio pa0 - pa29 programmable i/o port a i/o ? input after reset pb0 - pb23 programmable i/o port b i/o ? input after reset st nwdovf watchdog timer overflow output low open drain clock xin oscillator input input ? xout oscillator output output ? pllrca rc filter for pll a input ? pllrcb rc filter for pll b input ? mcko clock output output ? reset nrst hardware reset input input low schmitt trigger
at91m42800 6 jtag/ice jtagsel jtag/ ice selection input high enables ieee 1149.1 jtag boundary scan low enables arm standard ice debug schmitt trigger tms test mode select input ? schmitt trigger, internal pull-up tdi test data in input ? schmitt trigger, internal pull-up tdo test data out output ? tck test clock input ? schmitt trigger, internal pull-up ntrst test reset input input low schmitt trigger, internal pull-up emulation ntri tri-state mode enable input low sampled during reset power vddio i/o power power ? 3v or 5v nominal supply vddcore core power power ? 2v or 3v nominal supply vddpll pll power power ? 3v nominal supply gnd ground ground ? table 3. at91m42800 pin description (continued) module name function type active level comments
at91m42800 7 block diagram figure 3. at91m42800 arm7tdmi core embedded ice reset ebi: external bus interface asb controller aic: advanced interrupt controller amba ? bridge tc: timer/ counter block 0 tc0 tc1 tc2 usart0 usart1 2 pdc channels 2 pdc channels apb asb p i o p i o nrst d0-d15 a1-a19 a0/nlb ncs0 ncs1 pb6/tclk0 pb9/tclk1 pb12/tclk2 pb7/tioa0 pb8/tiob0 pb10/tioa1 pb11/tiob1 pb13/tioa2 pb14/tiob2 xin pa25/mcko pa1/irq1 pa2/irq2 pa3/irq3 pa4/fiq pa5/sck0 pa6/txd0 pa7/rxd0 pa8/sck1 pa9/txd1/ntri pa10/rxd1 tms tdo tdi tck ntrst spia: serial peripheral interface nwdovf tc: timer/ counter block 1 tc3 tc4 tc5 pb15/tclk3 pb18/tclk4 pb21/tclk5 pb16/tioa3 pb17/tiob3 pb19/tioa4 pb20/tiob4 pb22/tioa5 pb23/tiob5 pa28/holda pa29hold pb1/ncs3 pa0/irq0 pa12/misoa pa13/mosia pa14/npcsa0/nssa pa15/npcsa1 pa11/spcka pa16/npcsa2 pa17/npcsa3 nrd/noe nwr0/nwe nwr1/nub nwait pb0/ncs2 chip id ebi user interface jtagsel jtag jtagsel internal ram 8k bytes clock generator pllrca pllrcb xout pb3/a21/cs6 pb2/a20/cs7 pb5/a23/cs4 pb4/a22/cs5 system timers watchdog real-time period interval pio: parallel i/o controller 2 pdc channels spib: serial peripheral interface pa19/misob pa20/mosib pa21/npcsb0/nssb pa22/npcsb1 pa18/spckb pa23/npcsb2 pa24/npcsb3 2 pdc channels pmc: power management controller pa26 pa27/bms
at91m42800 8 architectural overview the at91m42800 microcontroller integrates an arm7tdmi with its embedded ice interface, memories and peripherals. its architecture consists of two main buses, the advanced system bus (asb) and the advanced peripheral bus (apb). designed for maximum performance and controlled by the memory controller, the asb inter- faces the arm7tdmi processor with the on-chip 32-bit memories, the external bus interface (ebi) and the amba ? bridge. the amba bridge drives the apb, which is designed for accesses to on-chip peripherals and opti- mized for low power consumption. the at91m42800 microcontroller implements the ice port of the arm7tdmi processor on dedicated pins, offering a complete, low-cost and easy-to-use debug solution for tar- get debugging. memories the at91m42800 microcontroller embeds up to 8k bytes of internal sram. the internal memory is directly con- nected to the 32-bit data bus and is single-cycle accessible. this provides maximum performance of 30 mips at 33 mhz by using the arm instruction set of the processor. the on-chip memory significantly reduces the system power consumption and improves its performance over external memory solutions. the at91m42800 microcontroller features an external bus interface (ebi), which enables connection of external mem- ories and application-specific peripherals. the ebi supports 8- or 16-bit devices and can use two 8-bit devices to emulate a single 16-bit device. the ebi implements the early read protocol, enabling faster memory accesses than standard memory interfaces. peripherals the at91m42800 microcontroller integrates several peripherals, which are classified as system or user periph- erals. all on-chip peripherals are 32-bit accessible by the amba bridge, and can be programmed with a minimum number of instructions. the peripheral register set is com- posed of control, mode, data, status and enable/disable/status registers. an on-chip peripheral data controller (pdc) transfers data between the on-chip usarts/spis and the on- and off- chip memories without processor intervention. most impor- tantly, the pdc removes the processor interrupt handling overhead and significantly reduces the number of clock cycles required for a data transfer. it can transfer up to 64k continuous bytes without reprogramming the start address. as a result, the performance of the microcontroller is increased and the power consumption reduced. system peripherals the external bus interface (ebi) controls the external memory and peripheral devices via an 8- or 16-bit data bus and is programmed through the apb. each chip select line has its own programming register. the power management controller (pmc) optimizes power consumption of the product by controlling the clocking ele- ments such as the oscillators and the pll, system and user peripheral clocks. the advanced interrupt controller (aic) controls the inter- nal sources from the internal peripherals and the five external interrupt lines (including the fiq) to provide an interrupt and/or fast interrupt request to the arm7tdmi. it integrates an 8-level priority controller, and, using the auto- vectoring feature, reduces the interrupt latency time. the parallel input/output controllers (pioa, piob) con- trols up to 54 i/o lines. it enables the user to select specific pins for on-chip peripheral input/output functions, and gen- eral-purpose input/output signal pins. the pio controllers can be programmed to detect an interrupt on a signal change from each line. there are three embedded system timers. the real-time timer (rtt) counts elapsed seconds and can generate periodic or programmed interrupts. the period interval timer (pit) can be used as a user-programmable time- base, and can generate periodic ticks. the watchdog (wd) can be used to prevent system lock-up if the software becomes trapped in a deadlock. the special function (sf) module integrates the chip id and the reset status registers. user peripherals two usarts, independently configurable, enable commu- nication at a high baud rate in synchronous or asynchronous mode. the format includes start, stop and parity bits and up to 9 data bits. each usart also features a time-out and a time-guard register, facilitating the use of the two dedicated peripheral data controller (pdc) channels. the two 3-channel, 16-bit timer/counters (tc) are highly- programmable and support capture or waveform modes. each tc channel can be programmed to measure or gen- erate different kinds of waves, and can detect and control two input/output signals. each tc also has three external clock signals. two independently configurable spis provide communica- tion with external devices in master or slave mode. each has four external chip selects which can be connected to up to 15 devices. the data length is programmable, from 8- to 16-bit.
at91m42800 9 supervisor mode protection the following system peripherals are protected against unintentional accesses by the supervisor operating mode.  external bus interface (ebi)  power management controller (pmc)  system timers (st)  special function (sf)
at91m42800 10 associated documentation information document title internal architecture of processor arm/thumb instruction sets embedded in-circuit emulator arm7tdmi (thumb) datasheet mapping peripheral operation peripheral user interface at91m42800 datasheet timings dc characteristics at91m42800 electrical characteristics datasheet
at91m42800 11 product overview power supply the at91m42800 has three kinds of power supply pins:  vddcore pins, which power the chip core  vddio pins, which power the i/o lines  vddpll pins, which power the oscillator and pll cells vddcore and vddio allow core power consumption to be reduced by supplying it with a lower voltage than the i/o lines. the vddcore pins must never be powered at a voltage greater than the supply voltage applied to the vddio. the vddpll pin is used to supply the oscillator and both plls. the voltage applied on these pins is typically 3.3v, and it must not be lower than vddcore. typical supported voltage combinations are shown in the following table: input/output considerations after the reset, the peripheral i/os are initialized as inputs to provide the user with maximum flexibility. it is recom- mended that in any application phase, the inputs to the at91m42800 microcontroller be held at valid logic levels to minimize the power consumption. clock generator the at91m42800 microcontroller embeds a 32.768 khz oscillator that generates the slow clock (slck). the at91m42800 microcontroller has a fully static design and works either on the master clock (mck), generated from the slow clock by means of the two integrated plls, or on the slow clock (slck). these clocks are also provided as an output of the device on the pin mcko, which is multiplexed with a general-pur- pose i/o line. while nrst is active, and after the reset, the mcko is valid and outputs an image of the slck signal. the pio controller must be programmed to use this pin as standard i/o line. reset reset initializes the user interface registers to their default states as defined in the peripheral sections of this datasheet and forces the arm7tdmi to perform the next instruction fetch from address zero. except for the program counter the arm core registers do not have defined reset states. when reset is active, the inputs of the at91m42800 must be held at valid logic levels. the ebi address lines drive low during reset. all the peripheral clocks are disabled during reset to save power. nrst pin nrst is the active low reset input. it is asserted asynchro- nously, but exit from reset is synchronized internally to the slow clock (slck). at power-up, nrst must be active until the on-chip oscillator is stable. during normal operation, nrst must be active for a minimum of 10 oscillator clock cycles to ensure correct initialization. the pins bms and ntri are sampled during the 10 clock cycles just prior to the rising edge of nrst. the nrst pin has no effect on the on-chip embedded ice logic. watchdog reset the internally generated watchdog reset has the same effect as the nrst pin, except that the pins bms and ntri are not sampled. boot mode and tri-state mode are not updated. the nrst pin has priority if both types of reset coincide. emulation functions tri-state mode the at91m42800 provides a tri-state mode, which is used for debug purposes in order to connect an emulator probe to an application board. in tri-state mode the at91m42800 continues to function, but all the output pin drivers are tri- stated. to enter tri-state mode, the pin ntri must be held low during the last 10 clock cycles before the rising edge of nrst. for normal operation, the pin ntri must be held high during reset, by a resistor of up to 400k ohm. ntri must be driven to a valid logic value during reset. ntri is multiplexed with parallel i/o pa9 and usart 1 serial data transmit line txd1. standard rs232 drivers generally contain internal 400k ohm pull-up resistors. if txd1 is connected to one of these drivers this pull-up will ensure normal operation, without the need for an additional external resistor. pins nominal supply voltages vddcore 3.3v 3.0v or 3.3v 2.0v vddio 5.0v 3.0v or 3.3v 3.3v vddpll 3.3v 3.0v or 3.3v 3.3v max freq 33 mhz 33 mhz 17 mhz
at91m42800 12 embedded ice arm standard embedded in-circuit emulation is supported via the jtag/ice port. it is connected to a host computer via an embedded ice interface. embedded ice mode is selected when jtagsel is low. it is not possible to switch directly between ice and jtag operations. a chip reset must be performed (nrst and ntrst) after jtagsel is changed. the reset input to the embedded ice (ntrst) is provided separately to facilitate debug of boot programs. ieee 1149.1 jtag boundary scan ieee 1149.1 jtag boundary scan is enabled when jtag- sel is high. the functions sample, extest and bypass are implemented. in ice debug mode the arm core responds with a non- jtag chip id that identifies the core to the ice system. this is not ieee 1149.1 jtag compliant. it is not possible to switch directly between jtag and ice operations. a chip reset must be performed (nrst and ntrst) after jtagsel is changed. memory controller the arm7tdmi processor address space is 4g bytes. the memory controller decodes the internal 32-bit address bus and defines three address spaces:  internal memories in the four lowest megabytes  middle space reserved for the external devices (memory or peripherals) controlled by the ebi  internal peripherals in the four highest megabytes in any of these address spaces, the arm7tdmi operates in little-endian mode only. internal memories the at91m42800 microcontroller integrates internal sram. all internal memories are 32 bits wide and single- clock cycle accessible. the at91m42800 microcontroller integrates a primary 8- kbyte sram bank that is mapped at address 0x0 (after the remap command), and arm7tdmi exception vectors between 0x0 and 0x20 that can be modified by the soft- ware. the rest of the bank can be used for stack allocation (to speed up context saving and restoring), or as data and program storage for critical algorithms. boot mode select the arm reset vector is at address 0x0. after the nrst line is released, the arm7tdmi executes the instruction stored at this address. this means that this address must be mapped in nonvolatile memory after the reset. the input level on the bms pin during the last 10 clock cycles before the rising edge of the nrst selects the type of boot memory. the boot mode depends on bms (see table 4). the pin bms is multiplexed with the i/o line pa27 that can be programmed after reset like any standard pio line. remap command the arm vectors (reset, abort, data abort, prefetch abort, undefined instruction, interrupt, fast interrupt) are mapped from address 0x0 to address 0x20. in order to allow these vectors to be redefined dynamically by the soft- ware, the at91m42800 microcontroller uses a remap command that enables switching between the boot mem- ory and the internal ram bank addresses. the remap command is accessible through the ebi user interface, by writing one in rcb of ebi_rcr (remap control register). performing a remap command is mandatory if access to the other external devices (connected to chip selects 1 to 7) is required. the remap operation can only be changed back by an internal reset or an nrst assertion. abort control the abort signal providing a data abort or a prefetch abort exception to the arm7tdmi is asserted in the following cases:  when accessing an undefined address in the ebi address space, or writing to a write-protected bank  when the arm7tdmi performs a misaligned access no abort is generated when reading the internal memory or by accessing the internal peripherals, whether the address is defined or not. when a write-protected area is accessed, the memory con- troller detects it, generates an abort and cancels the access. when the processor performs a forbidden write access in a mode-protected peripheral register, the write is cancelled but no abort is generated. the processor can perform word or half-word data access with a misaligned address when a register relative load/store instruction is executed and the register contains a misaligned address. in this case, whether the access is in write or in read, an abort is generated but the access is not cancelled. the abort status register traces the source that caused the last abort. the address and the type of abort are stored in registers of the external bus interface. table 4. boot mode select bms boot memory 1 external 8-bit memory ncs0 0 external 16-bit memory on ncs0
at91m42800 13 external bus interface the external bus interface handles the accesses between addresses 0x0040 0000 and 0xffc0 0000. it generates the signals that control access to the external devices, and can be configured from eight 1-mbyte banks up to four 16- mbyte banks. in all cases it supports byte, half-word and word aligned accesses. for each of these banks, the user can program:  number of wait states  number of data float times (wait time after the access is finished to prevent any bus contention in case the device is too long in releasing the bus)  data bus width (8-bit or 16-bit)  with a 16-bit wide data bus, the user can program the ebi to control one 16-bit device (byte access select mode) or two 8-bit devices in parallel that emulate a 16-bit memory (byte write access mode). the external bus interface features also the early read protocol, configurable for all the devices, that significantly reduces access time requirements on an external device. peripherals the at91m42800 peripherals are connected to the 32-bit wide advanced peripheral bus. peripheral registers are only word accessible. byte and half-word accesses are not supported. if a byte or a half-word access is attempted, the memory controller automatically masks the lowest address bits and generates a word access. each peripheral has a 16-kbyte address space allocated (the aic only has a 4-kbyte address space). peripheral registers the following registers are common to all peripherals:  control register ? write-only register that triggers a command when a one is written to the corresponding position at the appropriate address. writing a zero has no effect.  mode register ? read/write register that defines the configuration of the peripheral. usually has a value of 0x0 after a reset.  data registers ? read and/or write register that enables the exchange of data between the processor and the peripheral.  status register ? read-only register that returns the status of the peripheral.  enable/disable/status registers ? shadow command registers. writing a one in the enable register sets the corresponding bit in the status register. writing a one in the disable register resets the corresponding bit and the result can be read in the status register. writing a bit to zero has no effect. this register access method maximizes the efficiency of bit manipulation, and enables modification of a register with a single non-interruptible instruction, replacing the costly read-modify-write operation. unused bits in the peripheral registers are shown as ??? and must be written at 0 for upward compatibility. these bits read 0. peripheral interrupt control the interrupt control of each peripheral is controlled from the status register using the interrupt mask. the status reg- ister bits are anded to their corresponding interrupt mask bits and the result is then ored to generate the interrupt source signal to the advanced interrupt controller. the interrupt mask is read in the interrupt mask register and is modified with the interrupt enable register and the interrupt disable register. the enable/disable/status (or mask) makes it possible to enable or disable peripheral interrupt sources with a non-interruptible single instruction. this eliminates the need for interrupt masking at the aic or core level in real-time and multi-tasking systems. peripheral data controller the at91m42800 has an 8-channel pdc dedicated to the two on-chip usarts and to the two on-chip spis. one pdc channel is connected to the receiving channel and one to the transmitting channel of each peripheral. the user interface of a pdc channel is integrated in the memory space of each usart channel and in the memory space of each spi. it contains a 32-bit address pointer reg- ister and a 16-bit count register. when the programmed data is transferred, an end-of-transfer interrupt is generated by the corresponding peripheral. see the usart section and the spi section for more details on pdc operation and programming.
at91m42800 14 system peripherals pmc: power management controller the at91m42800 power management controller opti- mizes the power consumption of the device. the pmc controls the clocking elements such as the oscillator and the plls, and the system and the peripheral clocks. it also controls the mcko pin and permits to the user to select four different signals to be driven on this pin. the at91m42800 has the following clock elements:  the oscillator providing a clock that depends on the crystal fundamental frequency connected between the xin and xout pins  pll a providing a low to middle frequency clock range  pll b providing a middle to high frequency range  the clock prescaler  the arm processor clock controller  the peripheral clock controller  the master clock output controller the on-chip low-power oscillator together with the pll- based frequency multiplier and the prescaler results in a programmable clock between 500 hz and 66 mhz. it is the responsibility of the user to make sure that the pmc pro- gramming does not result in a clock over the acceptable limits. st: system timer the system timer module integrates three different free- running timers:  a period interval timer setting the base time for an operating system  a watchdog timer that is built around a 16-bit counter, and is used to prevent system lock-up if the software becomes trapped in a deadlock. it can generate an internal reset or interrupt, or assert an active level on the dedicated pin nwdovf.  a real-time timer counting elapsed seconds these timers count forwards or backwards using a slow clock provided by the mcu. typically, this clock has a fre- quency of 32768 khz. aic: advanced interrupt controller the at91m42800 has an 8-level priority, individually maskable, vectored interrupt controller. this feature sub- stantially reduces the software and real-time overhead in handling internal and external interrupts. the interrupt controller is connected to the nfiq (fast inter- rupt request) and the nirq (standard interrupt request) inputs of the arm7tdmi processor. the processor ? s nfiq line can only be asserted by the external fast interrupt request input: fiq. the nirq line can be asserted by the interrupts generated by the on-chip peripherals and the external interrupt request lines: irq0 to irq3. the 8-level priority encoder allows the customer to define the priority between the different nirq interrupt sources. internal sources are programmed to be level sensitive or edge triggered. external sources can be programmed to be positive or negative edge triggered or high or low level sensitive. pio: parallel i/o controller the at91m42800 has 54 programmable i/o lines. i/o lines are multiplexed with an external signal of a peripheral to optimize the use of available package pins. these lines are controlled by two separate and identical pio controllers called pioa and piob. each pio controller also provides an internal interrupt signal to the advanced interrupt con- troller and insertion of a simple input glitch filter on any of the pio pins. sf: special function the at91m42800 provides registers that implement the following special functions.  chip identification  reset status
at91m42800 15 user peripherals usart: universal synchronous/asynchronous receiver transmitter the at91m42800 provides two identical, full-duplex, uni- versal synchronous/asynchronous receiver/transmitters that interface to the apb and are connected to the periph- eral data controller. the main features are:  programmable baud rate generator with external or internal clock, as well as slow clock  parity, framing and overrun error detection  line break generation and detection  automatic echo, local loopback and remote loopback channel modes  multi-drop mode: address detection and generation  interrupt generation  two dedicated peripheral data controller channels  5-, 6-, 7-, 8- and 9-bit character length tc: timer/counter the at91m42800 features two timer/counter blocks, each containing three identical 16-bit timer/counter channels. each channel can be independently programmed to per- form a wide range of functions including frequency measurement, event counting, interval measurement, pulse generation, delay timing and pulse-width modulation. each timer/counter channel has 3 external clock inputs, 5 internal clock inputs, and 2 multi-purpose input/output sig- nals that can be configured by the user. each channel drives an internal interrupt signal that can be programmed to generate processor interrupts via the aic (advanced interrupt controller). the timer/counter block has two global registers that act upon all three tc channels. the block control register allows the three channels to be started simultaneously with the same instruction. the block mode register defines the external clock inputs for each timer/counter channel, allowing them to be chained. each timer/counter block operates independently and has a complete set of block and channel registers. spi: serial peripheral interface the at91m42800 includes two spis that provide commu- nication with external devices in master or slave mode. they are independent, and are referred to by the letters a and b. each spi has four external chip selects that can be connected to up to 15 devices. the data length is program- mable from 8- to 16-bit.
at91m42800 16 ordering information max speed (mhz) core operating power supply range ordering code ram (bytes) package operating temperature range 33 2.7v to 3.6v at91m42800-33ci 8k bga 144 -40 c to 85 c 33 2.7v to 3.6v AT91M42800-33AI tqfp 144
at91m42800 17 package outline 144-lead tqfp table 5. common dimensions (mm) symbol min nom max c0.09 0.2 c1 0.09 0.16 l 0.45 0.6 0.75 l1 1.00 ref r2 0.08 0.2 r1 0.08 s0.2 q0 3.5 7 q1 0 q2 11 12 13 q3 11 12 13 a1.6 a1 0.05 0.15 a2 1.35 1.4 1.45 tolerances and form of position aaa 0.2 bbb 0.2 table 6. lead count dimensions pin count d/e bsc d1/e1 bsc bb1 e bsc ccc ddd min nom max min nom max 144 22.0 2.0 0.17 0.22 0.27 0.17 0.2 0.23 0.50 0.10 0.08
at91m42800 18 figure 4. 144-lead tqfp package drawing      2 3
    1 
at91m42800 19 package outline 144-ball bga figure 5. 144-ball bga package drawing symbol max. bottom view top view side view
? atmel corporation 2000. atmel corporation makes no warranty for the use of its products, other than those expressly contained in the company ? s standard war- ranty which is detailed in atmel ? s terms and conditions located on the company ? s web site. the company assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any tim e without notice, and does not make any commitment to update the information contained herein. no licenses to patents or other intellectu al prop- erty of atmel are granted by the company in connection with the sale of atmel products, expressly or by implication. atmel ? s products are not authorized for use as critical components in life support devices or systems. atmel headquarters atmel operations corporate headquarters 2325 orchard parkway san jose, ca 95131 tel (408) 441-0311 fax (408) 487-2600 europe atmel u.k., ltd. coliseum business centre riverside way camberley, surrey gu15 3yl england tel (44) 1276-686-677 fax (44) 1276-686-697 asia atmel asia, ltd. room 1219 chinachem golden plaza 77 mody road tsimhatsui east kowloon hong kong tel (852) 2721-9778 fax (852) 2722-1369 japan atmel japan k.k. 9f, tonetsu shinkawa bldg. 1-24-8 shinkawa chuo-ku, tokyo 104-0033 japan tel (81) 3-3523-3551 fax (81) 3-3523-7581 atmel colorado springs 1150 e. cheyenne mtn. blvd. colorado springs, co 80906 tel (719) 576-3300 fax (719) 540-1759 atmel rousset zone industrielle 13106 rousset cedex france tel (33) 4-4253-6000 fax (33) 4-4253-6001 fax-on-demand north america: 1-(800) 292-8635 international: 1-(408) 441-0732 e-mail literature@atmel.com web site http://www.atmel.com bbs 1-(408) 436-4309 printed on recycled paper. 1328as ? 06/00/5m marks bearing ? and/or ? are registered trademarks and trademarks of atmel corporation. terms and product names in this document may be trademarks of others. arm, thumb and arm powered are registered trademarks of arm limited. arm7tdmi is a trademark of arm ltd.


▲Up To Search▲   

 
Price & Availability of AT91M42800-33AI

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X